Optimal. Leaf size=172 \[ \frac {5}{96} (2 x+5) \left (2 x^2-x+3\right )^{5/2}-\frac {3667 \left (2 x^2-x+3\right )^{5/2}}{576 (2 x+5)}-\frac {839}{960} \left (2 x^2-x+3\right )^{5/2}-\frac {(909513-226052 x) \left (2 x^2-x+3\right )^{3/2}}{18432}-\frac {(85448933-14243732 x) \sqrt {2 x^2-x+3}}{32768}+\frac {959625 \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {2} \sqrt {2 x^2-x+3}}\right )}{64 \sqrt {2}}-\frac {982669459 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{65536 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 172, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 8, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1650, 1653, 814, 843, 619, 215, 724, 206} \[ \frac {5}{96} (2 x+5) \left (2 x^2-x+3\right )^{5/2}-\frac {3667 \left (2 x^2-x+3\right )^{5/2}}{576 (2 x+5)}-\frac {839}{960} \left (2 x^2-x+3\right )^{5/2}-\frac {(909513-226052 x) \left (2 x^2-x+3\right )^{3/2}}{18432}-\frac {(85448933-14243732 x) \sqrt {2 x^2-x+3}}{32768}+\frac {959625 \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {2} \sqrt {2 x^2-x+3}}\right )}{64 \sqrt {2}}-\frac {982669459 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{65536 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 215
Rule 619
Rule 724
Rule 814
Rule 843
Rule 1650
Rule 1653
Rubi steps
\begin {align*} \int \frac {\left (3-x+2 x^2\right )^{3/2} \left (2+x+3 x^2-x^3+5 x^4\right )}{(5+2 x)^2} \, dx &=-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}-\frac {1}{72} \int \frac {\left (3-x+2 x^2\right )^{3/2} \left (\frac {26675}{16}-4990 x+486 x^2-180 x^3\right )}{5+2 x} \, dx\\ &=-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}-\frac {\int \frac {\left (3-x+2 x^2\right )^{3/2} \left (148350-406320 x+120816 x^2\right )}{5+2 x} \, dx}{6912}\\ &=-\frac {839}{960} \left (3-x+2 x^2\right )^{5/2}-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}-\frac {\int \frac {(8954400-27126240 x) \left (3-x+2 x^2\right )^{3/2}}{5+2 x} \, dx}{276480}\\ &=-\frac {(909513-226052 x) \left (3-x+2 x^2\right )^{3/2}}{18432}-\frac {839}{960} \left (3-x+2 x^2\right )^{5/2}-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {\int \frac {(-11522887200+30766461120 x) \sqrt {3-x+2 x^2}}{5+2 x} \, dx}{17694720}\\ &=-\frac {(85448933-14243732 x) \sqrt {3-x+2 x^2}}{32768}-\frac {(909513-226052 x) \left (3-x+2 x^2\right )^{3/2}}{18432}-\frac {839}{960} \left (3-x+2 x^2\right )^{5/2}-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}-\frac {\int \frac {8489566411200-16980528251520 x}{(5+2 x) \sqrt {3-x+2 x^2}} \, dx}{566231040}\\ &=-\frac {(85448933-14243732 x) \sqrt {3-x+2 x^2}}{32768}-\frac {(909513-226052 x) \left (3-x+2 x^2\right )^{3/2}}{18432}-\frac {839}{960} \left (3-x+2 x^2\right )^{5/2}-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {982669459 \int \frac {1}{\sqrt {3-x+2 x^2}} \, dx}{65536}-\frac {2878875}{32} \int \frac {1}{(5+2 x) \sqrt {3-x+2 x^2}} \, dx\\ &=-\frac {(85448933-14243732 x) \sqrt {3-x+2 x^2}}{32768}-\frac {(909513-226052 x) \left (3-x+2 x^2\right )^{3/2}}{18432}-\frac {839}{960} \left (3-x+2 x^2\right )^{5/2}-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {2878875}{16} \operatorname {Subst}\left (\int \frac {1}{288-x^2} \, dx,x,\frac {17-22 x}{\sqrt {3-x+2 x^2}}\right )+\frac {982669459 \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{23}}} \, dx,x,-1+4 x\right )}{65536 \sqrt {46}}\\ &=-\frac {(85448933-14243732 x) \sqrt {3-x+2 x^2}}{32768}-\frac {(909513-226052 x) \left (3-x+2 x^2\right )^{3/2}}{18432}-\frac {839}{960} \left (3-x+2 x^2\right )^{5/2}-\frac {3667 \left (3-x+2 x^2\right )^{5/2}}{576 (5+2 x)}+\frac {5}{96} (5+2 x) \left (3-x+2 x^2\right )^{5/2}-\frac {982669459 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{65536 \sqrt {2}}+\frac {959625 \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {2} \sqrt {3-x+2 x^2}}\right )}{64 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.21, size = 108, normalized size = 0.63 \[ \frac {14739840000 \sqrt {2} \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {4 x^2-2 x+6}}\right )+\frac {4 \sqrt {2 x^2-x+3} \left (409600 x^6-1798144 x^5+8283904 x^4-35369408 x^3+182033816 x^2-1404323114 x-6814208295\right )}{2 x+5}-14740041885 \sqrt {2} \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{1966080} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.88, size = 153, normalized size = 0.89 \[ \frac {14740041885 \, \sqrt {2} {\left (2 \, x + 5\right )} \log \left (-4 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) + 14739840000 \, \sqrt {2} {\left (2 \, x + 5\right )} \log \left (\frac {24 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (22 \, x - 17\right )} - 1060 \, x^{2} + 1036 \, x - 1153}{4 \, x^{2} + 20 \, x + 25}\right ) + 8 \, {\left (409600 \, x^{6} - 1798144 \, x^{5} + 8283904 \, x^{4} - 35369408 \, x^{3} + 182033816 \, x^{2} - 1404323114 \, x - 6814208295\right )} \sqrt {2 \, x^{2} - x + 3}}{3932160 \, {\left (2 \, x + 5\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.45, size = 707, normalized size = 4.11 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 208, normalized size = 1.21 \[ \frac {5 \left (2 x^{2}-x +3\right )^{\frac {5}{2}} x}{48}+\frac {982669459 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{131072}+\frac {959625 \sqrt {2}\, \arctanh \left (\frac {\left (-11 x +\frac {17}{2}\right ) \sqrt {2}}{12 \sqrt {-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}}}\right )}{128}-\frac {589 \left (2 x^{2}-x +3\right )^{\frac {5}{2}}}{960}+\frac {9059 \left (4 x -1\right ) \left (2 x^{2}-x +3\right )^{\frac {3}{2}}}{6144}+\frac {208357 \left (4 x -1\right ) \sqrt {2 x^{2}-x +3}}{32768}-\frac {3667 \left (-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}\right )^{\frac {5}{2}}}{1152 \left (x +\frac {5}{2}\right )}-\frac {106625 \left (-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}\right )^{\frac {3}{2}}}{2304}+\frac {1637 \left (4 x -1\right ) \sqrt {-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}}}{16}-\frac {319875 \sqrt {-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}}}{128}+\frac {3667 \left (4 x -1\right ) \left (-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}\right )^{\frac {3}{2}}}{2304} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.01, size = 161, normalized size = 0.94 \[ \frac {5}{48} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} x - \frac {589}{960} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} + \frac {9059}{1536} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}} x - \frac {185827}{6144} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}} + \frac {3560933}{8192} \, \sqrt {2 \, x^{2} - x + 3} x + \frac {982669459}{131072} \, \sqrt {2} \operatorname {arsinh}\left (\frac {4}{23} \, \sqrt {23} x - \frac {1}{23} \, \sqrt {23}\right ) - \frac {959625}{128} \, \sqrt {2} \operatorname {arsinh}\left (\frac {22 \, \sqrt {23} x}{23 \, {\left | 2 \, x + 5 \right |}} - \frac {17 \, \sqrt {23}}{23 \, {\left | 2 \, x + 5 \right |}}\right ) - \frac {85448933}{32768} \, \sqrt {2 \, x^{2} - x + 3} - \frac {3667 \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}}}{32 \, {\left (2 \, x + 5\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (2\,x^2-x+3\right )}^{3/2}\,\left (5\,x^4-x^3+3\,x^2+x+2\right )}{{\left (2\,x+5\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (2 x^{2} - x + 3\right )^{\frac {3}{2}} \left (5 x^{4} - x^{3} + 3 x^{2} + x + 2\right )}{\left (2 x + 5\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________